IF EXISTS (SELECT * FROM sys.syslogins WHERE name='$(STAGING_DATABASE_USERNAME)')
BEGIN
    DROP LOGIN $(STAGING_DATABASE_USERNAME)
END